#ifndef UARTSTREAM_HPP
#define UARTSTREAM_HPP
#include <stdint.h>
#include <stdbool.h>
#include "rs485.hpp"
#include "threados.hpp"
#include "streamstation.hpp"
#include "method.hpp"
#include "app_config.h"

using namespace device;
using namespace systemos;

#define UARTSTREAM_PUBLIC_NAME			"uart/pub"
#define UARTSTREAM_SUBSCRIBE_NAME		"uart/sbs"

extern void UartStreamInit(uint32_t uiBaud, uart::UartParityTPDF tUartParity);
extern void UartChangeParam(uint32_t uiBaud, uart::UartParityTPDF tUartParity);

#endif
